#ifndef _bai1
#define _bai1
#include<conio.h>
#include<stdio.h>
#include<iostream>
using namespace std;
#endif
class Polygon{
protected:
	int width, height;
public:
	Polygon(int a);
	void setValues(int a, int b);
};

class Rectangle :public Polygon{
public:
	Rectangle(int w, int h);
	int area();
};

